﻿@model blacksoft.Models.Persona

@{
    ViewBag.Title = "Details";
}

@{
    Layout = "~/Views/Shared/_LayoutCompras.cshtml";
}

<div class="block big">
    <div class="titlebar">
        <h3>Detalle Proveedor</h3>
    </div>
    <div class="block_cont">
        <dl class="dl-horizontal">


            <dt>
                @Html.DisplayNameFor(model => model.RazonSocial)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.RazonSocial)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.RUC)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.RUC)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Direccion)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Direccion)
            </dd>


            <dt>
                @Html.DisplayNameFor(model => model.Email)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Email)
            </dd>

        </dl>
    
    
    @{Html.RenderPartial("~/Views/Shared/_ProveedorProductosList.cshtml", Model.Producto_x_Proveedor.Where(p => p.Estado == "AC"));}
    
    <p>
        @Html.ActionLink("Modificar", "Edit", new { id = Model.IDPersona }) |
        @Html.ActionLink("Regresar al listado", "Index")
    </p>
</div>
</div>
